<?php
/**
 * Post Model
 * 
 * @author Thai Pham <thaiphamquoc@gmail.com>
 * @version 1.0
 * @package Blog
 * @subpackage Post
 */
class Post extends AppModel {
    var $name = 'Post';
    var $validate = array(
        'title' => array(
            'rule' => 'notEmpty'
        ),
        'body' => array(
            'rule' => 'notEmpty'
        )
    );
}
?>
